package com.gongJiao.mapper;

import com.gongJiao.Vo.OpinionVo;
import com.gongJiao.Vo.PageCondition;
import com.gongJiao.entity.Opinion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-12-25
 */
@Mapper
public interface OpinionMapper extends BaseMapper<Opinion> {

    /**
     * 后台分页查询意见列表信息集合
     * @param pageCondition
     * @return
     */
    List<OpinionVo> getOpinionList(PageCondition pageCondition);

    /**
     * 后台分页查询意见列表信息数量
     * @param pageCondition
     * @return
     */
    Integer getCount(PageCondition pageCondition);
}
